<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <title>
        Sample of Silverlight AJAX bridge
    </title>
    <script src="../js/jquery.js" type="text/javascript"></script>
    <script src="../js/Gestalt.js" type="text/javascript"></script>
    <style type="text/css">
        BODY{height:100%;margin:0;padding:0;background:blue;color:white;}
    </style>
</head>
<body>
<div style="top:0;left:0;position:absolute;height:100%;width:50%;border:1px solid red;">
<xml id="Tweetr" class="xaml" Width="100%" Height="100%" style="display:none;">
	<StackPanel x:Name="shell">
		<Grid x:Name="ux">
		   <Grid.ColumnDefinitions>
			  <ColumnDefinition Width="100"/>
			  <ColumnDefinition Width="100"/>
		   </Grid.ColumnDefinitions>
		   <Grid.RowDefinitions>
			  <RowDefinition/>
			  <RowDefinition/>
			  <RowDefinition/>
		   </Grid.RowDefinitions>
		   <TextBlock Grid.Row="0" Grid.Column="0" Text="username" />
		   <TextBox Grid.Row="0" Grid.Column="1" x:Name="username" Text="fallenrogue" Width="100" />
		   <TextBlock Grid.Row="1" Grid.Column="0" Text="password" />
		   <PasswordBox Grid.Row="1" Grid.Column="1" x:Name="password" Password="1love2Kate" Width="100" />
		   <StackPanel Orientation="Horizontal" Grid.Row="2" Grid.Column="1">
			<Button x:Name="cancel" Content="Cancel" Width="50" />
			<Button x:Name="update" Content="Update" Width="50" />
		   </StackPanel>
		</Grid>
	   <StackPanel x:Name="status_form" Orientation="Horizontal">
			<TextBox x:Name="my_status" Width="400" />
			<Button x:Name="update_my_status" Content="Go" />
		</StackPanel>
		<StackPanel x:Name="status_list" />
	</StackPanel>
</xml>
</div>
<div style="top:0;right:0;position:absolute;height:100%;width:50%;border:1px solid red;">
    <div id="msg">Replace Me</div>
    <div id="debug">Debug Message Go here.</div>
</div>
<script language="ruby" class="Tweetr" src="Tweetr.rb"></script>
</body>
</html>